package be.kuleuven.peno3.mobiletoledo.model;

import java.util.Calendar;
import java.util.Date;

public class CourseActivity {
	private String date_end;
	private String date_begin;
	private Calendar cal_begin=null;
	private Calendar cal_end=null;
	private POI poi;
	private Course course;
	private String teacher;
	private String group;
	
	public Calendar getBeginDate(){
		if (cal_begin==null){
			cal_begin = Calendar.getInstance();
			cal_begin.setTime(new Date(date_begin));
		}
		return cal_begin;
	}
	
	public Calendar getEndDate(){
		if (cal_end==null){
			cal_end = Calendar.getInstance();
			cal_end.setTime(new Date(date_end));
		}
		return cal_end;
	}
	
	public POI getPoi() {
		return poi;
	}

	public Course getCourse(){
		return course;
	}

	public String getTeacher() {
		return teacher;
	}

	public String getGroup() {
		return group;
	}
	
}
